← Back
Editing: index-legacy253.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n<t;n++)l[n]=e[n];return l}System.register(["./index-legacy93.js?v=1765440387","./utils-lib-legacy.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./store-legacy.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./files-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./column-legacy.js?v=1765440387","./store-legacy2.js?v=1765440387","./index-legacy91.js?v=1765440387"],function(t,n){"use strict";var l,r,o,a,i,u,s,c,f,p,y,m,d,g,h,b,v,x,j,_,k,C,w,S;return{setters:[function(e){l=e._},function(e){r=e.j,o=e.k,a=e.e},function(e){i=e.c,u=e.s,s=e.p,c=e.a5,f=e.G,p=e.q,y=e.v,m=e.y,d=e.x,g=e.F,h=e.a$,b=e.z,v=e.C,x=e.e,j=e.O,_=e.P,k=e.A,C=e.H,w=e.J},function(e){S=e.aK},null,null,null,null,null,null,null],execute:function(){var n={class:"p-20px"},A={class:"flex justify-between"},I={class:"file-selector-head flex items-center"},T={ref:"pathInput",class:"file-selector-input overflow-hidden"},B={key:0,ref:"pathUl",class:"absolute h-[2.8rem] z-1 flex"},D=["onClick"],F={class:"truncate max-w-[8rem]"},P=i({__name:"index",setup:function(t){var a=S(),i=u(a),P=i.compData,U=i.ossTable,V=i.isTagMode,$=i.temporaryPath,z=i.showPathList,E=i.tableColumns,H=i.tableData,J=i.loading,K=a.handleSelectionChange,L=a.temporaryBlur,M=a.temporaryFocus,O=a.temporaryEnter,q=a.goBack,G=a.filePathJump,N=(a.watchTableData,a.getDirList),Q=a.$reset;return s(function(){N()}),c(function(){Q()}),function(t,a){var i=r,u=o,s=l,c=f("bt-loading");return p(),y("div",n,[m("div",A,[m("div",I,[m("i",{title:"返回上一层",class:"bt-open-icon svgtofont-el-back",onClick:a[0]||(a[0]=function(){return d(q)&&d(q).apply(void 0,arguments)})}),m("div",T,[d(V)?(p(),y("ul",B,[(p(!0),y(g,null,h(d(z),function(e,t){return p(),y("li",{key:t,onClick:function(t){return d(G)(e.path)},class:"flex h-full items-center px-4px"},[m("span",F,b(e.title),1),a[4]||(a[4]=m("i",{class:"svgtofont-el-arrow-right ml-4px"},null,-1))],8,D)}),128))],512)):v("",!0),x(i,{width:"40rem",readonly:"",onFocus:d(M),onBlur:d(L),onKeyup:a[1]||(a[1]=j(function(e){return d(O)(e)},["enter","native"])),modelValue:d($),"onUpdate:modelValue":a[2]||(a[2]=function(e){return _($)?$.value=e:null})},null,8,["onFocus","onBlur","modelValue"])],512),m("i",{title:"刷新",class:"bt-open-icon svgtofont-el-refresh-right",onClick:a[3]||(a[3]=function(e){return d(N)()})})])]),x(s,null,{content:k(function(){return[C(x(u,{ref_key:"ossTable",ref:U,class:w("oss-table oss-".concat(d(P).type)),column:d(E),data:d(H),onSelectionChange:d(K),"empty-text":"(空)",height:"400","max-height":"400"},null,8,["class","column","data","onSelectionChange"]),[[c,d(J)],[c,"正在加载文件列表,请稍后...","title"]])]}),popup:k(function(){return e(a[5]||(a[5]=[]))}),_:1})])}}});t("default",a(P,[["__scopeId","data-v-907527fe"]]))}}})}();
Save File
Cancel